package com.sql.dao;

import com.sql.model.BorrowInfo;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

/**
 * Created by 走过全世界。 on 2017/6/1 0001.
 */
public interface BorrowInfoMapping {

    @Select("select * from borrow_info where username=#{username}")
    public ArrayList<BorrowInfo> selectBorrowedBook(String username);

}
